function ret=G_l_2(G,Gl)
 
 ret={};
 prev= Gl;
 l=length(prev{1})+1;
 n=1;
 for gp = G
  gp=gp{1};
  for g = prev
   g=g{1};
   if(gp'==g{1})
    continue;
   endif
   ret{n}{1}=gp;
   for j =1 : l-1
    ret{n}{end+1}=g{j};
   endfor
   n=n+1;
  endfor
  
  gp=gp';
  for g = prev
   g=g{1};
   if(gp'==g{1})
    continue;
   endif
   ret{n}{1}=gp;
   for j =1 : l-1
    ret{n}{end+1}=g{j};
   endfor
   n=n+1;
  endfor
 endfor
endfunction


